import service from '@/utils/request'
// @Tags VideoImage
// @Summary 创建videoImage表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoImage true "创建videoImage表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /videoImage/createVideoImage [post]
export const createVideoImage = (data) => {
  return service({
    url: '/videoImage/createVideoImage',
    method: 'post',
    data
  })
}

// @Tags VideoImage
// @Summary 删除videoImage表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoImage true "删除videoImage表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoImage/deleteVideoImage [delete]
export const deleteVideoImage = (params) => {
  return service({
    url: '/videoImage/deleteVideoImage',
    method: 'delete',
    params
  })
}

// @Tags VideoImage
// @Summary 批量删除videoImage表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除videoImage表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /videoImage/deleteVideoImage [delete]
export const deleteVideoImageByIds = (params) => {
  return service({
    url: '/videoImage/deleteVideoImageByIds',
    method: 'delete',
    params
  })
}

// @Tags VideoImage
// @Summary 更新videoImage表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data body model.VideoImage true "更新videoImage表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /videoImage/updateVideoImage [put]
export const updateVideoImage = (data) => {
  return service({
    url: '/videoImage/updateVideoImage',
    method: 'put',
    data
  })
}

// @Tags VideoImage
// @Summary 用id查询videoImage表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query model.VideoImage true "用id查询videoImage表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /videoImage/findVideoImage [get]
export const findVideoImage = (params) => {
  return service({
    url: '/videoImage/findVideoImage',
    method: 'get',
    params
  })
}

// @Tags VideoImage
// @Summary 分页获取videoImage表列表
// @Security ApiKeyAuth
// @Accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取videoImage表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /videoImage/getVideoImageList [get]
export const getVideoImageList = (params) => {
  return service({
    url: '/videoImage/getVideoImageList',
    method: 'get',
    params
  })
}

// @Tags VideoImage
// @Summary 不需要鉴权的videoImage表接口
// @Accept application/json
// @Produce application/json
// @Param data query exampleReq.VideoImageSearch true "分页获取videoImage表列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /videoImage/getVideoImagePublic [get]
export const getVideoImagePublic = () => {
  return service({
    url: '/videoImage/getVideoImagePublic',
    method: 'get',
  })
}
